package com.zkca.xf.model.javabean.test;


/**
 * 结果类：service、action、server 返回值
 */
public class Result<T extends Object>  {
	//protected static Logger logger = Logger.getLogger(Result.class);

	private boolean success;// 操作 是否成功
	private String message;// 返回消息
	private String code = "200";// 状态码
	private T data;// 返回附加信息 可以是String、List、JSON、Map 类型


	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}



}
